package User;

import doOperation.*;

public class Admin extends User{
    public Admin(String name) {
        super(name);
        this.operations = new Operation[]{new Quit(), new SearchBook(),new InsertBook(),new DeleteBook(),new SearchBook()};
    }

    @Override
    public void menu() {
        System.out.println("*******管理员菜单*******");
        System.out.println("1.查找图书");
        System.out.println("2.新增图书");
        System.out.println("3.删除图书");
        System.out.println("4.显示图书");
        System.out.println("0.退出系统");
        System.out.println("**********************");
    }
}
